﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Foothill.Model;
using Foothill.Common;

using Foothill.DataAccess.Interface;

namespace Foothill.DataAccess.Repository
{
    public class AdRepoStub
    {
        public int InsertNewForSaleAd(ForSaleAd newAd)
        {
            return 1;
        }

        public bool UpdateForSaleAdEditKey(int adId, string editkey)
        {
            return true;
        }

        public List<ForSaleAd> AdvancedSearch( ForSaleAdAdvancedSearchParameter searchParam, out int count )
        {
            count = 1;
            return new List<ForSaleAd>();
        }

        public Dictionary<int, string> GetOrderByOptions(string cultureCode)
        {
            return new Dictionary<int, string>();
        }

        public List<StatsItem> GetCategoryStats(AdListCategory category, ForSaleAdAdvancedSearchParameter searchParam)
        {
            return new List<StatsItem>();
        }

        public ForSaleAd GetForSaleAdById(int id)
        {
            ForSaleAd result = new ForSaleAd();
            return result;
        }

        public ForSaleAd GetForSaleAdByIdAndEditKey(int postId, string editkey)
        {
            return null;
        }

        public bool UpdatePrice(int postId, int newPrice)
        {
            return true;
        }

        public bool SetPostStatusId(int postId, AdStatusLookup status)
        {
            return true;
        }

        public IList<ForSaleAd> GetPostsByUser(int userAccountId)
        {
            throw new NotImplementedException();
        }
    }
}
